PImage bg;

PImage bunny;

String colorIDtableName = "color-id-table.txt";
String colorIDtable[];
color  colorTable[];

String positions[];
String heatMap[];
FoodPatch dish[];

// food patch colors
color FOOD_PATCH_COLOR[] = 
{
	#FF4040,
	#647DFF
	//#FFCE64	
};

/* -------------------------------------------------------------
 * C O N S T A N T S   &   Parameters
 * -------------------------------------------------------------
 */

// fear grid size
final int	GRID_COLUMNS		= 6;
final int	GRID_ROWS		= 5;

// Data / input files
final String	BUNNY_MAP_IMAGE		= "data/bunnyprojectmap.png";
final String	BUNNY_OBSTACLE_IMAGE	= "data/map_mask_small.png";
final String	BUNNY_IMAGE		= "data/bunny.png";

// number of food patches
final int	FOOD_PATCH_COUNT		= 2;
final float	FOOD_PATCH_SIZE		= 30.0;			// in pixels

// number of bunnies in simulation
final int 	BUNNY_COUNT		= 5;

// simulation parameters
final float	BUNNY_SPEED		= 5.0*30.0;		// in pixels per second
final float	BUNNY_HIDE_TIME		= 2.0;			// in seconds
final float	BUNNY_EAT_TIME		= 99.0;			// in seconds

final float	MIN_TIME_CHANGE		= 7.0;
final float	MAX_TIME_CHANGE		= 30.0;

// how often to update fear map from the network
final float	NETWORK_UPDATE		= 1.0;			// in seconds

// files
final String	HEAT_MAP_FILE		= "data/heat-map.txt";
final String	FEAR_MAP_FILE		= "data/fear-map.txt";
String positionName			= "bunny-positions.txt";
String dishName				= "food-positions.txt";

// Arduino
boolean		isArduinoConnected	= true;

// TacTile
boolean		isTacTileConnected	= true;
String		TACTILE_HOST		= "tactile.evl.uic.edu";
int		TACTILE_PORT		= 7340;
int		UDP_PORT			= 24543;
int		TACTILE_WIDTH		= 1920;
int		TACTILE_HEIGHT		= 1080;

// ControlP5
ControlP5 controlP5;
Serial port;

